package com.pactera.madp.cp.api.dto.prod;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 华融湘江产品表
 *
 * @author HuHao
 * @date 2022/3/16 9:31
 */
@Data
@ApiModel(value = "新增产品传输对象")
public class ProdDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "产品编码")
    private String code;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "精选标识")
    private Integer status;

    @ApiModelProperty(value = "上架时间")
    private String onTime;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "到期时间")
    private String endTime;

    @ApiModelProperty(value = "产品分组")
    private Integer type;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "产品状态")
    private Integer state;

    @ApiModelProperty(value = "利率")
    private Float rate;

    @ApiModelProperty(value = "描述1")
    private String desc1;

    @ApiModelProperty(value = "描述2")
    private String desc2;

    @ApiModelProperty(value = "图片1")
    private String image1;

    @ApiModelProperty(value = "图片2")
    private String image2;

    @ApiModelProperty(value = "链接")
    private String url;

    @ApiModelProperty(value = "贷款内容描述（0 - 图文 1 - 小程序）")
    private Integer loanDescType;

    @ApiModelProperty(value = "小程序id")
    private String loanAppId;

    @ApiModelProperty(value = "小程序原始id")
    private String loanOrgAppId;

    @ApiModelProperty(value = "贷款内容链接")
    private String loanDescUrl;

    @ApiModelProperty(value = "企业微信用户Id")
    private Integer corpId;

    @ApiModelProperty(value = "具备可见范围的部门/条线列表")
    private List<Integer> deptIds;

}
